<?php
/**
 * Created by PhpStorm.
 * User: henryxi-mac
 * Date: 2015/4/14
 * Time: 19:34
 */
defined('BASEPATH') OR exit('No direct script access allowed');
?>
    <style>
        body{
            margin: 0;
        }
        .content{
            position:relative;
            margin: 0 auto;
            width:640px;
            height:960px;

            background: url(images/bg3.png) no-repeat;
            background-size: 100% 100%;
        }
        .input{
            position: absolute;
            top: 58.54166666666667%;
            border:none;

            width: 37.5%;
            height: 6.97916666666667%;
        }
        #btn_share{
            left:9.21875%;
            background:url(images/btn_share.png) no-repeat;
            background-size: 100% 100%;
        }
        #btn_submit{
            left:53.75%;
            background:url(images/btn_quan.png) no-repeat;
            background-size: 100% 100%;
        }

        #share-wx{
            background:rgba(0,0,0,0.8);
            position:absolute;
            top:0px;
            width:640px;
            height:100%;
            z-index:10000;
            display:none;
        }
        #share-wx img{
            width:100%;
            height:100%;
        }

    </style>
</head>
<body>
<section class="content">
    <input id="btn_share" type="button" class="input"/>
    <input id="btn_submit" type="button" class="input"/>
    <div id="share-wx">
        <img src="images/fenxiang.png"/>
    </div>
</section>

<script>
    (function($){
        var _H = $(window).height();
        $(".content").css("height",_H);
        $("#share-wx").click(function(){
            $(this).hide();
        });
        $("#btn_share").click(function(){
            $("#share-wx").show();
        });
        $("#btn_submit").click(function(){
           window.location.href = "http://cc.weipaidang.net/wepartner_cc/wepartner/mobile.php?act=card_js_customcode"+
           "&card_id=puKFst3pPUTt0gS6u80gmat5ZFys&weid=75&wechat_card_js=1";
        });
    })(jQuery);
</script>
</body>
</html>